<?php

if ( ! defined('BASEPATH'))
    exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
| SUBSCRIPTIONS ROUTES
| -------------------------------------------------------------------------
|
| 
|
| -------------------------------------------------------------------------
*/

// Subscriptions
$route['subscriptions']                          = "backend-subscriptions/subscription";
$route['subscriptions/add']                      = "backend-subscriptions/subscription/add";
$route['subscriptions/edit']                     = "backend-subscriptions/subscription/edit";
$route['subscriptions/edit/id/:num']             = "backend-subscriptions/subscription/edit";
$route['subscriptions/delete/id/:num']           = "backend-subscriptions/subscription/delete";
$route['subscriptions/preview/id/:num']          = "backend-subscriptions/subscription/preview";

$route['subscriptions/contents/:any']            = "backend-subscriptions/subscription/subscriptions_datatable";

//$route['subscriptions/delete/:any']              = "backend-subscriptions/subscription/delete";
//$route['subscriptions/delete_multiple']          = "backend-subscriptions/subscription/delete_multiple";
//$route['subscriptions/confirm_delete']           = "backend-subscriptions/subscription/confirm_delete";
//$route['subscriptions/confirm_delete/:any']      = "backend-subscriptions/subscription/confirm_delete";
//$route['subscriptions/confirm_update']           = "backend-subscriptions/subscription/confirm_update_status";
//$route['subscriptions/confirm_update/:any']      = "backend-subscriptions/subscription/confirm_update_status";
//$route['subscriptions/update_status/:any']       = "backend-subscriptions/subscription/update_status";
//$route['subscriptions/update_multiple']          = "backend-subscriptions/subscription/update_multiple_statuses";
//$route['subscriptions/more/:any']                = "backend-subscriptions/subscription/more";
//$route['subscriptions/contents/:any']            = "backend-subscriptions/subscription/view_contents";
//$route['subscriptions/:any']                     = "backend-subscriptions/subscription";


// Subscriptions API
$route['api/subscriptions']                             = "backend-subscriptions/subscription_api";
$route['api/subscriptions/:num']                        = "backend-subscriptions/subscription_api/subscription_by_id";

$route['api/subscriptions/:any']                        = "backend-subscriptions/subscription_api";



/* End of file routes.php */
/* Location: ./application/subscriptions/backend-subscriptions/config/routes.php */